@import 'el-modify.less';
@import 'color.less';
@import 'table.less';
@import 'scrollbar.less';

.main {
	// background-color: @app-back;
	// background-color: #f5f7fa;
	background-color: @s-back-soft;
}

.example {
	width: 3rem;
	height: 3rem;
	background-color: @s-back;
}

html {
	font-size: 62.5%;
}

body {
	font-size: 1.4rem;
}

.note {
	padding: 1rem 1.5rem;
	// transform: translateY(-1.6rem);
	font-size: 1.2rem;
	// text-indent: 1em;
	line-height: 1.6;
	border-radius: .4rem;
	&.form-note {
		color: @note-form-text;
		background-color: @note-form-back;
	}
}

.s-form-title {
	padding: 0.4rem 0 1rem;
	border-top: 1px solid #cccccc;
	font-size: 1.6rem;
}

@mangaCoverWidth: 20rem;
@mangaCoverHeight: 26rem;

@chapterCoverWidth: 12rem;
@chapterCoverHeight: 18rem;

@chapterWidth: 36rem;

@PhoneMangaCoverWidth: 10rem;
@PhoneMangaCoverHeight: 14rem;

@PhoneChapterCoverWidth: 4rem;
@PhoneChapterCoverHeight: 6rem;

@PhoneChapterWidth: 8rem;

@menuBack: #545c64;
@menuActive: #ffd04b;
@menuText: #ffffff;

.flex-space-around {
	display: flex;
	justify-content: space-around;
}

.flex-space-between {
	display: flex;
	justify-content: space-between;
}

.margin-top-100 {
	margin-top: 100px;
}

.margin-top-50 {
	margin-top: 50px;
}

.margin-bottom-100 {
	margin-bottom: 100px;
}

.margin-bottom-50 {
	margin-bottom: 50px;
}

.width-200-posted {
	width: 154px;
}

.single-line-text-overflow {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
}

/* 显示两行，省略号 */
.sub-line-text-overflow {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

//按钮颜色
.btn-blue {
	color: #ffffff !important;
	background-color: #40a9ff !important;
}

.btn-cyan {
	color: #ffffff !important;
	background-color: #5cdbd3 !important;
}

.btn-green {
	color: #ffffff !important;
	background-color: #95de64 !important;
}

.btn-red {
	color: #ffffff !important;
	background-color: #ff7875 !important;
}

.btn-orange {
	color: #ffffff !important;
	background-color: #ffc069 !important;
}

.btn-volcano {
	color: #ffffff !important;
	background-color: #ff9c6e !important;
}

.btn-gold {
	color: #ffffff !important;
	background-color: #ffd666 !important;
}

.btn-yellow {
	color: #ffffff !important;
	background-color: #fff566 !important;
}

.btn-lime {
	color: #ffffff !important;
	background-color: #d3f261 !important;
}

.el-menu {
	border: 0;
}

.r30 {
	width: 30rem;
}

.primary {
	color: @s-text;
	background-color: @s-back;
}

.primary-btn {
	color: @s-text;
	background-color: @s-back;
	border: 1px solid @s-back;
}

.custom-block .custom-block-title {
	font-weight: 700;
}

.custom-block p:not(.custom-block-title) {
	font-size: 0.9rem;
}

.custom-block.tip {
	padding: 8px 16px;
	background-color: fadeout(#409eff, 80%);
	border-radius: 4px;
	border-left: 5px solid #409eff;
	margin: 20px 0;
}

.custom-block.warning {
	padding: 8px 16px;
	background-color: var(--block-warning-bg-color);
	border-radius: 4px;
	border-left: 5px solid var(--el-color-danger);
	margin: 20px 0;
}

:root {
	--el-color-white: #ffffff;
	--el-color-black: #000000;
	--el-color-primary-rgb: 64, 158, 255;
	--el-color-success-rgb: 103, 194, 58;
	--el-color-warning-rgb: 230, 162, 60;
	--el-color-danger-rgb: 245, 108, 108;
	--el-color-error-rgb: 245, 108, 108;
	--el-color-info-rgb: 144, 147, 153;
	--el-font-size-extra-large: 20px;
	--el-font-size-large: 18px;
	--el-font-size-medium: 16px;
	--el-font-size-base: 14px;
	--el-font-size-small: 13px;
	--el-font-size-extra-small: 12px;
	--el-font-family: 'Helvetica Neue', Helvetica, 'PingFang SC',
		'Hiragino Sans GB', 'Microsoft YaHei', '\5fae\8f6f\96c5\9ed1', Arial,
		sans-serif;
	--el-font-weight-primary: 500;
	--el-font-line-height-primary: 24px;
	--el-index-normal: 1;
	--el-index-top: 1000;
	--el-index-popper: 2000;
	--el-border-radius-base: 4px;
	--el-border-radius-small: 2px;
	--el-border-radius-round: 20px;
	--el-border-radius-circle: 100%;
	--el-transition-duration: 0.3s;
	--el-transition-duration-fast: 0.2s;
	--el-transition-function-ease-in-out-bezier: cubic-bezier(
		0.645,
		0.045,
		0.355,
		1
	);
	--el-transition-function-fast-bezier: cubic-bezier(0.23, 1, 0.32, 1);
	--el-transition-all: all var(--el-transition-duration)
		var(--el-transition-function-ease-in-out-bezier);
	--el-transition-fade: opacity var(--el-transition-duration)
		var(--el-transition-function-fast-bezier);
	--el-transition-md-fade: transform var(--el-transition-duration)
			var(--el-transition-function-fast-bezier),
		opacity var(--el-transition-duration)
			var(--el-transition-function-fast-bezier);
	--el-transition-fade-linear: opacity var(--el-transition-duration-fast) linear;
	--el-transition-border: border-color var(--el-transition-duration-fast)
		var(--el-transition-function-ease-in-out-bezier);
	--el-transition-box-shadow: box-shadow var(--el-transition-duration-fast)
		var(--el-transition-function-ease-in-out-bezier);
	--el-transition-color: color var(--el-transition-duration-fast)
		var(--el-transition-function-ease-in-out-bezier);
	--el-component-size-large: 40px;
	--el-component-size: 32px;
	--el-component-size-small: 24px;
}
.el-drawer {
	background-color: @s-back;
}
// 标签
.tag {
	margin-right: 1rem;
	margin-bottom: 1rem;
	border: 0;
	color: #fff;
}

.check-tag {
	margin-right: 1rem;
	margin-bottom: 1rem;
	border: 0;
}

.touch-dom {
	position: relative;
	left: 0;
	top: 0;
}

// #nprogress .bar{
//  background-color: @s-background;
// }

// 跳页的弹框在不同尺寸 展示不通的ui排列
@media only screen and (min-width: 1200px) {
	.dialog-jump-page {
		max-width: 120rem;
		min-width: 80rem;
	}
}
@media only screen and (max-width: 1199px) {
	.dialog-jump-page {
		width: 80%;
	}
}
